﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Finish.aspx.cs" Inherits=" ZX.TR.Web.Finish" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>问卷调研完成</title>
    <script type="text/javascript" src="../Scripts/yui_2.9.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
    <script type="text/javascript" src="../Scripts/yui_2.9.0/build/connection/connection-min.js"></script>
    <script src="../Scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.json-2.2.min.js" type="text/javascript"></script>
    <script src="../Scripts/Jquery.form.js" type="text/javascript"></script>
    <link href="../Styles/extendTable.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
        function document.oncontextmenu() {
            event.returnValue = false; //屏蔽鼠标右键
        }

        //只针对IE
        function closeWins() {
            window.opener = null;
            window.open('', '_self');
            window.close();
        }

        function clock() {
            i = i - 1;
            document.title = "问卷调研完成!将在" + i + "秒后自动关闭！";
            $("#spTimeOut").html("本窗口将在" + i + "秒后自动关闭！");
            if (i > 0) {
                setTimeout("clock();", 1000);
            }
            else {
                windowclose();
            }
        }

        //兼容所有浏览器
        function windowclose() {
            var browserName = navigator.appName;
            if (browserName == "Netscape") {
                window.open('', '_self', '');
                window.close();
            }
            else {
                if (browserName == "Microsoft Internet Explorer") {
                    window.opener = "whocares";
                    window.opener = null;
                    window.open('', '_top');
                    window.close();
                }
            }
        }

        //兼容所有浏览器
        function closeme() {
            var browserName = navigator.appName;
            if (browserName == "Netscape") {
                window.open('', '_parent', '');
                window.close();
            }
            else if (browserName == "Microsoft Internet Explorer") {
                window.opener = "whocares";
                window.close();
            }
        }
        var i = 5;
        clock();

    </script>
    <style type="text/css">
        body{font-family: 宋体, Arial, Helvetica, sans-serif;font-size: 12px;color: #333333;background-color: #FFFFFF;} 
        select{width:99%;} 
        td { border: 1px solid #CCCCCC;}
        .textarea{ width: 96%;height: 25px;}	
        .selectedTr{  background-color: blue;} 
        A:link {text-decoration:none;color:blue}
        A:visited {text-decoration:none;color:#80006f}
        A:hover {text-decoration:underline;color:red} 
        .alg{text-align:center;}
        .requisite 
        {
	        FONT-FAMILY: "宋体"; COLOR: #cc0000
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <br />
    非常感谢您参加本次问卷调查！
    <span id="spTimeOut"></span>
    <a href="javascript:windowclose();" >关闭窗口</a>！
    </div>
    </form>
</body>
</html>
